-- GENERATED SPELL FOR [Cult Blackguard] --


function spell0_32276(pUnit, Event) --@Expose Armor,n/a--
pUnit:FullCastSpellOnTarget(60842,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32276', 15000, 1)
end

function spell1_32276(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(14873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32276', 560, 1)
end

function Sorts_32276(pUnit, Event)
local choix_sorts_32276 = math.random(0, 1)
if choix_sorts_32276 == 0 then
pUnit:RegisterEvent('spell0_32276', 1, 1)
end
if choix_sorts_32276 == 1 then
pUnit:RegisterEvent('spell1_32276', 1, 1)
end
end

function mob32276_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32276', math.random(1500, 3000), 1)
end

function mob32276_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32276_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32276_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32276, 1, 'mob32276_Action')
RegisterUnitEvent(32276, 2, 'mob32276_Leave')
RegisterUnitEvent(32276, 3, 'mob32276_Kill')
RegisterUnitEvent(32276, 4, 'mob32276_Die')
